package org.dromara.system.domain.bo;

import lombok.*;
import org.dromara.system.domain.SysUserEmptyOrderRecords;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * 空单记录业务对象 sys_user_empty_order_records
 *
 * @author Lion Li
 * @date 2025-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserEmptyOrderRecords.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysUserEmptyOrderRecordsBo extends BaseEntity {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 下空单金额
     */
    @NotNull(message = "下空单金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal amount;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
